package com.group3.pojo.receive;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.group3.pojo.Page;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Past;
import java.util.Date;

/**
 * @ClassName LessonListReceive
 * @Author jt-sinlio
 * @Time 2021/6/15 15:59
 **/
//@Data相当于@Getter @Setter @RequiredArgsConstructor @ToString @EqualsAndHashCode这5个注解的合集。
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("项目课程参数类")
public class TLessonListReceive extends Page {

//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" , timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "查询开始时间", required = false)
    private Date startDateTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "查询结束时间", required = false)
    private Date endDateTime;

    @ApiModelProperty(value = "项目名称", required = false)
    private String lessonName;

    @ApiModelProperty(value = "实训教师", required = false)
    private String teacherS;

    @ApiModelProperty(value = "责任教师id", required = false)
    private String teacherZ;
}
